use "$path\datasets\rd_dataset.dta", clear
bysort  gkz jahr partei: keep if _n==1

rdd_plot  tot_share_women_elected, includedbw(0.15)  control(margin_1) binsize(0.01)  bw(0.10) title("Share of women in the council") xtitle("Female candidate margin of victory (%)")

graph export FigureA9/figureA9.pdf, replace
